import 'package:aero_frisbee/app/model/af_home_user_model/af_home_user_model.dart';
import 'package:freezed_annotation/freezed_annotation.dart';

part 'cache_bind_model.freezed.dart';
part 'cache_bind_model.g.dart';

@freezed
class CacheBindModel with _$CacheBindModel {
  factory CacheBindModel({
    String? author,
    @JsonKey(name: 'home_user') AfHomeUserModel? homeUser,
  }) = _CacheBindModel;

  factory CacheBindModel.fromJson(Map<String, dynamic> json) =>
      _$CacheBindModelFromJson(json);
}
